package com.edu.study.base.lmsOrderOperateHistory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * LmsOrderOperateHistory对象 lms_order_operate_history
 * 
 * @author zw
 * @date 2021-08-11
 */
public class LmsOrderOperateHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderId;

    /** 操作人：用户；系统；后台管理员 */
    @Excel(name = "操作人：用户；系统；后台管理员")
    private String operateMan;

    /** 订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单 */
    @Excel(name = "订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer orderStatus;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** pre_status */
    @Excel(name = "pre_status")
    private Integer preStatus;

    /** order_item_id */
    @Excel(name = "order_item_id")
    private Long orderItemId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOperateMan(String operateMan) 
    {
        this.operateMan = operateMan;
    }

    public String getOperateMan() 
    {
        return operateMan;
    }
    public void setOrderStatus(Integer orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderStatus() 
    {
        return orderStatus;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setPreStatus(Integer preStatus) 
    {
        this.preStatus = preStatus;
    }

    public Integer getPreStatus() 
    {
        return preStatus;
    }
    public void setOrderItemId(Long orderItemId) 
    {
        this.orderItemId = orderItemId;
    }

    public Long getOrderItemId() 
    {
        return orderItemId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("operateMan", getOperateMan())
            .append("createTime", getCreateTime())
            .append("orderStatus", getOrderStatus())
            .append("note", getNote())
            .append("preStatus", getPreStatus())
            .append("orderItemId", getOrderItemId())
            .toString();
    }
}
